﻿//----------------------------------------------------------------------------------------------------
// The IAIPlayer is the base class for all AI types
//----------------------------------------------------------------------------------------------------

package HG.AI
{
	import flash.events.Event;
	
	public class IAIPlayer
	{
		var m_playerID:Number;
		var m_active:Boolean;
		
		//----------------------------------------------------------------------------------------------------
		public function IAIPlayer(ID:Number)
		{
			m_playerID = ID;
			m_active = false;
		}
		
		//----------------------------------------------------------------------------------------------------
		public function GetPlayerID():Number
		{
			return m_playerID;
		}
		
		//----------------------------------------------------------------------------------------------------
		public function OnTick(DeltaTime:Number)
		{
		}
		
		//----------------------------------------------------------------------------------------------------
		public function SetActive(active:Boolean)
		{
			m_active = active;
		}
		
		//----------------------------------------------------------------------------------------------------
		public function GetTurnsToReachPlayer():Number
		{
			return 0;
		}
		
		//----------------------------------------------------------------------------------------------------
		// Perform actions is the AI's turn to lodge actions for the next turn.
		//----------------------------------------------------------------------------------------------------
		public function PerformActions()
		{
			
		}
		
		//----------------------------------------------------------------------------------------------------
	}
}
